
	/***********************************************************************************************

		@NAPI
		Module: Locale (native api)

		Methods:
			__ni_loc_get	()

	***********************************************************************************************/

	//1-LiquidBox
	//-------------------------------------------------------------------------------
	if(jsl.__sys === "LiquidBox")
		jsl.Locale.__ni_loc_get = function() {
			return __ni_loc_get().toLowerCase()
		}

	//2-Web
	//-------------------------------------------------------------------------------
	else
		jsl.Locale.__ni_loc_get = function() {
			try {
				var l, navi

				navi 	= window.navigator
				l 		=	(navi.language || navi.userLanguage || "en-us").replace("_", "-")
				//google analytic + ie works lowercase with locale codes
				return (l.indexOf("-") === -1 ? l + "-" + l : l).toLowerCase()
			}
			catch(e) {
				jsl.throwError(e, this, arguments)
			}
		}